Details

Time bar (total: 1.7s)

sample22.0ms

Algorithm
intervals
Results
9.0ms316×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.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))
10.2b
(/ (+ x (* y (- z x))) z)

rewrite20.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))
8.0ms
(/ (+ x (* y (- z x))) z)

series23.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
10.0ms
(/ (+ x (* y (- z x))) z)

simplify113.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0259420
11042388
24769388
35002388

prune84.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New75479
Fresh000
Picked011
Done000
Total75580

Merged error: 3.5b

Counts
80 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series12.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(- (+ (/ x z) y) (/ (* x y) z))
5.0ms
(/ (* x y) z)

simplify29.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0244274
11067254
25001250

prune51.0ms

Filtered
31 candidates to 46 candidates (-48.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh123
Picked101
Done011
Total46551

Merged error: 0b

Counts
51 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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)
14.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt z)
21.0ms
(cbrt z)
21.0ms
(cbrt z)
12.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0440756
12120661
25002598

prune97.0ms

Filtered
78 candidates to 104 candidates (-33.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh033
Picked011
Done011
Total1045109

Merged error: 0b

Counts
109 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-*r/ associate-*l*
diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- flip3-+ div-exp pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 48
Calls
2 calls:
8.0ms
(- (+ (/ x z) y) (* x (/ y z)))
6.0ms
(* x (/ y z))

series12.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(- (+ (/ x z) y) (* x (/ y z)))
5.0ms
(* x (/ y z))

simplify41.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0301298
11327278
25001274

prune41.0ms

Filtered
36 candidates to 54 candidates (-50.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh022
Picked011
Done022
Total54559

Merged error: 0b

Counts
59 → 5

regimes223.0ms

Accuracy

86.1% (0.1b remaining)

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

bsearch33.0ms

Steps
ItersRangePoint
10
1.9658591638646782e-53
1.1193458109196806e-41
2.2000042968976343e-45
7
-5.8089112783746025e-37
-1.445955852155634e-38
-3.653013977896786e-37

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample621.0ms

Algorithm
intervals
Results
289.0ms10201×body80valid

Profiling

Loading profile data...