Details

Time bar (total: 3.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms313×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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.3b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
11.0ms
(* x (- y z))
11.0ms
(/ (* x (- y z)) y)

series96.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0299483
11416328
25001328

prune126.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))
2.6b
(/ x (/ y (- y z)))

rewrite25.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:
5.0ms
(/ y (- y z))
12.0ms
(/ x (/ y (- y z)))

series105.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(/ y (- y z))
53.0ms
(/ x (/ y (- y z)))

simplify77.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04791057
122391019
250021016

prune349.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
8.0ms
(/ (- y z) y)
14.0ms
(* x (/ (- y z) y))

series88.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0270409
11205378
25001377

prune181.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (- y z))
0.2b
(/ 1 (/ (/ y (- y z)) x))
2.6b
(/ (/ y (- y z)) x)

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
771×times-frac
439×add-sqr-sqrt *-un-lft-identity
335×add-cube-cbrt
75×associate-/r*
52×distribute-lft-out-- difference-of-squares
35×associate-/r/
31×add-exp-log
27×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-- flip--
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 441
Calls
3 calls:
5.0ms
(/ y (- y z))
25.0ms
(/ 1 (/ (/ y (- y z)) x))
13.0ms
(/ (/ y (- y z)) x)

series177.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ y (- y z))
45.0ms
(/ 1 (/ (/ y (- y z)) x))
78.0ms
(/ (/ y (- y z)) x)

simplify95.0ms

Algorithm
egg-herbie
Counts
450 → 450
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
014134478
150014011

prune981.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes124.0ms

Accuracy

92.8% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 2.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02427
12427

end0.0ms

sample401.0ms

Algorithm
intervals
Results
209.0ms9641×body80valid