Details

Time bar (total: 1.5s)

sample20.0ms

Algorithm
intervals
Results
7.0ms302×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950023

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.7b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series14.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune65.0ms

Filtered
35 candidates to 52 candidates (-48.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New46652
Fresh000
Picked101
Done000
Total47653

Merged error: 0.0b

Counts
53 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 123
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (/ z (+ y z)))

series14.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0413869
11890835
25001832

prune105.0ms

Filtered
91 candidates to 129 candidates (-41.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh145
Picked011
Done000
Total1296135

Merged error: 0b

Counts
135 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt times-frac
20×add-cube-cbrt
16×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-/l*
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 68
Calls
2 calls:
5.0ms
(/ (+ y z) z)
8.0ms
(* x (/ (+ y z) z))

series12.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0233344
11013313
23948313
35001313

prune61.0ms

Filtered
48 candidates to 74 candidates (-54.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh044
Picked011
Done011
Total74680

Merged error: 0b

Counts
80 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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 y) z) x)
4.0ms
(/ (* x y) z)

series11.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0168160
1736144
23353142
35001142

prune30.0ms

Filtered
26 candidates to 39 candidates (-50.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh033
Picked011
Done022
Total39645

Merged error: 0b

Counts
45 → 6

regimes186.0ms

Accuracy

20.7% (2.5b remaining)

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

bsearch21.0ms

Steps
ItersRangePoint
5
2.0672825961802167e-09
5.11027232077922e-09
3.861569879264033e-09
7
-9.038526926913771e-240
-3.611521163553677e-242
-1.4132173672170657e-241

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0216
1216

end0.0ms

sample546.0ms

Algorithm
intervals
Results
232.0ms9643×body80valid

Profiling

Loading profile data...