Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
7.0ms310×body80valid

simplify95.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.8b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series97.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0299483
11416328
25001328

prune126.0ms

Filtered
77 candidates to 41 candidates (53.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.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))
10.0ms
(/ x (/ y (- y z)))

series106.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04791057
122391019
250021016

prune352.0ms

Filtered
149 candidates to 112 candidates (75.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.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:
9.0ms
(/ (- y z) y)
16.0ms
(* x (/ (- y z) y))

series89.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0270409
11205378
25001377

prune184.0ms

Filtered
86 candidates to 61 candidates (70.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (- y z) (/ 1 y))
2.2b
(* x (* (- y z) (/ 1 y)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
20×add-sqr-sqrt
16×add-cbrt-cube
14×*-un-lft-identity associate-*r*
13×prod-exp
11×add-cube-cbrt times-frac
pow1
associate-*r/ associate-*l*
cbrt-unprod
frac-times flip3-- div-exp pow-prod-down associate-*l/ flip--
unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp 1-exp un-div-inv *-commutative log1p-expm1-u add-log-exp
div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 74
Calls
2 calls:
17.0ms
(* (- y z) (/ 1 y))
20.0ms
(* x (* (- y z) (/ 1 y)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(* (- y z) (/ 1 y))
57.0ms
(* x (* (- y z) (/ 1 y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0333393
11473326
25001314

prune162.0ms

Filtered
80 candidates to 53 candidates (66.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes75.0ms

Accuracy

0.6% (3.1b remaining)

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

bsearch93.0ms

Steps
ItersRangePoint
11
3.2599898194699943e-289
3.463040259566922e-269
1.7486134584104022e-274
10
-5.759922189643687e-102
-1.1538628039993458e-115
-1.2863222767697794e-106

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1186

end0.0ms

sample407.0ms

Algorithm
intervals
Results
210.0ms9567×body80valid