Details

Time bar (total: 1.6s)

analyze13.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%18.7%81.3%0
0%18.7%81.3%1
0%18.7%81.3%2
0%18.7%81.3%3
0%18.7%81.3%4
4.7%14%81.3%5
5.3%13.5%81.3%6
18.1%0.6%81.3%7
18.1%0.6%81.3%8
18.6%0.1%81.3%9
18.6%0.1%81.3%10
18.7%0%81.3%11
18.7%0%81.3%12
18.7%0%81.3%13
18.7%0%81.3%14

sample21.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (115.0ms)

IterNodesCost
0489715
1489715

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.7b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
21.8b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series19.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* x x) (* y y))
14.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify20.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
05103655

prune62.0ms

Filtered
38 candidates to 48 candidates (-26.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44448
Fresh101
Picked011
Done000
Total45550

Merged error: 0.2b

Counts
50 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune7.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055

Merged error: 0.2b

Counts
5 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* y y))
0.0b
(/ 1 (/ (+ (* x x) (* y y)) (- (* x x) (* y y))))
0.0b
(+ (* x x) (* y y))
21.8b
(/ (+ (* x x) (* y y)) (- (* x x) (* y y)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
64×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×associate-/r*
17×add-exp-log difference-of-squares
11×associate-/r/ add-cbrt-cube
div-exp add-log-exp
flip3-- flip-- div-inv associate-/l*
pow1
cbrt-undiv
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+ associate-/l/
+-commutative sub-neg pow-flip diff-log sum-log inv-pow
Counts
4 → 154
Calls
4 calls:
4.0ms
(- (* x x) (* y y))
11.0ms
(/ 1 (/ (+ (* x x) (* y y)) (- (* x x) (* y y))))
4.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (* x x) (* y y)) (- (* x x) (* y y)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* x x) (* y y))
12.0ms
(/ 1 (/ (+ (* x x) (* y y)) (- (* x x) (* y y))))
5.0ms
(+ (* x x) (* y y))
10.0ms
(/ (+ (* x x) (* y y)) (- (* x x) (* y y)))

simplify59.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050623450

prune136.0ms

Filtered
113 candidates to 166 candidates (-46.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1660166
Fresh022
Picked011
Done022
Total1665171

Merged error: 0.2b

Counts
171 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3))
0.0b
(pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3)
0.1b
(* (/ (+ x y) (+ (* x x) (* y y))) (- x y))
21.4b
(/ (+ x y) (+ (* x x) (* y y)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
31×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
18×associate-*l*
17×add-exp-log add-cbrt-cube
10×cube-div
pow1
cbrt-prod
distribute-lft-out
frac-times flip3-- associate-*r/ flip--
cbrt-div associate-*r*
prod-exp associate-/r/ cbrt-unprod associate-/l* add-log-exp
cbrt-undiv pow-unpow flip3-+ div-exp associate-*l/ pow-exp associate-/r* flip-+ rem-cube-cbrt
cube-mult sub-neg unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down div-inv associate-/l/ unswap-sqr sqr-pow
distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in pow1/3 clear-num *-commutative rem-cbrt-cube distribute-lft-out-- difference-of-squares
Counts
4 → 131
Calls
4 calls:
3.0ms
(cbrt (pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3))
12.0ms
(pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3)
16.0ms
(* (/ (+ x y) (+ (* x x) (* y y))) (- x y))
8.0ms
(/ (+ x y) (+ (* x x) (* y y)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(cbrt (pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3))
13.0ms
(pow (* (/ (+ x y) (+ (* x x) (* y y))) (- x y)) 3)
11.0ms
(* (/ (+ x y) (+ (* x x) (* y y))) (- x y))
8.0ms
(/ (+ x y) (+ (* x x) (* y y)))

simplify38.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
050922340

prune153.0ms

Filtered
103 candidates to 143 candidates (-38.8%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1430143
Fresh011
Picked011
Done033
Total1435148

Merged error: 0.2b

Counts
148 → 5

regimes173.0ms

Accuracy

78.4% (4.6b remaining)

Error of 5.1b against oracle of 0.5b and baseline of 22.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03936
13936

end0.0ms

sample582.0ms

Algorithm
intervals
Results
295.0ms8000×body80valid
150.0ms8000×pre80true

Profiling

Loading profile data...