Details

Time bar (total: 2.6s)

sample25.0ms

Algorithm
intervals
Results
13.0ms321×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.9b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
8.3b
(/ (+ x (* y (- z x))) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l* associate-/r* associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 70
Calls
3 calls:
3.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series111.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ x (* y (- z x)))
38.0ms
(* y (- z x))
44.0ms
(/ (+ x (* y (- z x))) z)

simplify118.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259420
11042388
24783388
35001388

prune128.0ms

Filtered
79 candidates to 54 candidates (68.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580

Merged error: 3.5b

Counts
80 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ x z) y)
6.6b
(/ (* x y) z)

rewrite11.0ms

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

series36.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(+ (/ x z) y)
19.0ms
(/ (* x y) z)

simplify76.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0177143
1744124
23530123
35003123

prune65.0ms

Filtered
39 candidates to 27 candidates (69.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New36339
Fresh224
Picked101
Done000
Total39544

Merged error: 0.0b

Counts
44 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
4.1b
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
28×times-frac
25×add-exp-log
22×add-cube-cbrt *-un-lft-identity associate-*r*
20×cbrt-prod
18×add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
pow1 unswap-sqr
add-log-exp
pow1/3
div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 92
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)
17.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

series570.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt z)
172.0ms
(cbrt z)
179.0ms
(cbrt z)
47.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

simplify62.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0420720
12228581
25001542

prune221.0ms

Filtered
104 candidates to 82 candidates (78.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh044
Picked011
Done000
Total1045109

Merged error: 0.0b

Counts
109 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ x z) y)
6.8b
(/ x (/ z y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
46×*-un-lft-identity
44×add-sqr-sqrt add-cube-cbrt
13×associate-/r*
add-exp-log add-cbrt-cube
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l*
pow1
+-commutative frac-2neg flip3-+ clear-num sum-log associate-/r/ flip-+ distribute-lft-out
Counts
2 → 82
Calls
2 calls:
6.0ms
(+ (/ x z) y)
6.0ms
(/ x (/ z y))

series43.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(+ (/ x z) y)
26.0ms
(/ x (/ z y))

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0389510
11535486
25001485

prune318.0ms

Filtered
88 candidates to 69 candidates (78.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh033
Picked011
Done011
Total88593

Merged error: 0.0b

Counts
93 → 5

regimes68.0ms

Accuracy

58.8% (0.4b remaining)

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

bsearch48.0ms

Steps
ItersRangePoint
3
1.0082629341998017e-112
1.2378848149591382e-112
1.0911286082018742e-112
9
-2.467727434408496e-39
-3.6259292736707265e-44
-1.4105835320874087e-42

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03015
13015

end0.0ms

sample491.0ms

Algorithm
intervals
Results
291.0ms10113×body80valid