Details

Time bar (total: 3.6s)

sample101.0ms

Algorithm
intervals
Results
77.0ms469×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.5b
(- (+ (* x x) (* y y)) (* z z))
27.4b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
2.0ms
(+ (* x x) (* y y))
18.0ms
(- (+ (* x x) (* y y)) (* z z))
29.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series140.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
38.0ms
(- (+ (* x x) (* y y)) (* z z))
76.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0337520
11492454
25001446

prune211.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 10.8b

localize14.0ms

Local error

Found 2 expressions with local error:

9.5b
(/ (pow x 2) y)
9.5b
(/ (pow z 2) y)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
16×associate-/l*
12×add-exp-log
unpow2 sqr-pow
div-exp associate-/r* add-cbrt-cube
pow1 cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv add-log-exp
Counts
2 → 98
Calls
2 calls:
4.0ms
(/ (pow x 2) y)
4.0ms
(/ (pow z 2) y)

series37.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(/ (pow x 2) y)
19.0ms
(/ (pow z 2) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0270482
1962422
25002415

prune239.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (pow z (/ 2 2)) (/ y z))
9.5b
(/ (pow x 2) y)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
103×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
54×unpow-prod-down
20×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×div-inv
add-cbrt-cube
cbrt-undiv unpow2
pow-to-exp pow-exp
pow1 frac-2neg clear-num add-log-exp
associate-/r/
Counts
2 → 179
Calls
2 calls:
7.0ms
(/ (pow z (/ 2 2)) (/ y z))
4.0ms
(/ (pow x 2) y)

series42.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (pow z (/ 2 2)) (/ y z))
23.0ms
(/ (pow x 2) y)

simplify97.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06601187
131871000
25002999

prune350.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (/ x y))
0.2b
(/ (pow z (/ 2 2)) (/ y z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
99×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
20×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r*
12×add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 cbrt-undiv
associate-*l*
pow-to-exp pow-exp prod-exp cbrt-unprod add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative
Counts
2 → 162
Calls
2 calls:
7.0ms
(* x (/ x y))
8.0ms
(/ (pow z (/ 2 2)) (/ y z))

series42.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(* x (/ x y))
20.0ms
(/ (pow z (/ 2 2)) (/ y z))

simplify102.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06721079
13439905
25002905

prune286.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes72.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1209
2209

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s13771×body80valid