Details

Time bar (total: 4.1s)

sample20.0ms

Algorithm
intervals
Results
10.0ms301×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1223
2443
3703
41003
51173
64203
729763
850013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
12.8b
(/ (* x (- y z)) y)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u sub-neg flip3-- div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 71
Calls
2 calls:
22.0ms
(* x (- y z))
21.0ms
(/ (* x (- y z)) y)

series80.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* x (- y z))
48.0ms
(/ (* x (- y z)) y)

simplify56.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0299483
11416328
25001328

prune166.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- y z))
3.0b
(/ x (/ y (- y z)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
102×add-sqr-sqrt *-un-lft-identity
70×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
14.0ms
(/ y (- y z))
16.0ms
(/ x (/ y (- y z)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ y (- y z))
44.0ms
(/ x (/ y (- y z)))

simplify70.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04791057
122391019
250021016

prune544.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) y)
3.4b
(* x (/ (- y z) y))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
31×times-frac
22×add-cube-cbrt
19×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
2 → 80
Calls
2 calls:
17.0ms
(/ (- y z) y)
26.0ms
(* x (/ (- y z) y))

series74.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ (- y z) y)
46.0ms
(* x (/ (- y z) y))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0270409
11205378
25001377

prune262.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.6b
(* x (* (cbrt (/ (- y z) y)) (cbrt (/ (- y z) y))))
3.6b
(cbrt (/ (- y z) y))
3.6b
(cbrt (/ (- y z) y))
3.6b
(cbrt (/ (- y z) y))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
57×cbrt-prod
51×add-sqr-sqrt
50×*-un-lft-identity
45×times-frac
32×add-cube-cbrt
pow1 add-exp-log distribute-lft-out-- difference-of-squares
cbrt-div add-cbrt-cube
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod div-inv
frac-times associate-*r* associate-*l/ *-commutative unswap-sqr
Counts
4 → 114
Calls
4 calls:
53.0ms
(* x (* (cbrt (/ (- y z) y)) (cbrt (/ (- y z) y))))
6.0ms
(cbrt (/ (- y z) y))
5.0ms
(cbrt (/ (- y z) y))
6.0ms
(cbrt (/ (- y z) y))

series835.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(* x (* (cbrt (/ (- y z) y)) (cbrt (/ (- y z) y))))
226.0ms
(cbrt (/ (- y z) y))
238.0ms
(cbrt (/ (- y z) y))
230.0ms
(cbrt (/ (- y z) y))

simplify86.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0248940
1595878
22176868
35001859

prune763.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes169.0ms

Accuracy

72.9% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 3.2b

bsearch2.0ms

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
02527
12827
23418
33718
44318
55418
66118
76218
86218

end0.0ms

sample461.0ms

Algorithm
intervals
Results
245.0ms9634×body80valid