Details

Time bar (total: 1.6s)

sample22.0ms

Algorithm
intervals
Results
8.0ms311×body80valid

simplify48.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: 13.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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)

series15.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune61.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653

Merged error: 0.0b

Counts
53 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
2.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)
9.0ms
(* x (/ (+ y z) z))

simplify83.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233344
11013313
23948313
35001313

prune65.0ms

Filtered
47 candidates to 74 candidates (-57.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh044
Picked101
Done011
Total74680

Merged error: 0b

Counts
80 → 6

localize5.0ms

Local error

Found 1 expressions with local error:

2.6b
(* x (+ (/ y z) 1))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out add-log-exp unswap-sqr
Counts
1 → 23
Calls
1 calls:
8.0ms
(* x (+ (/ y z) 1))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(* x (+ (/ y z) 1))

simplify51.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0141113
165099
2266599
3500199

prune32.0ms

Filtered
16 candidates to 26 candidates (-62.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh044
Picked011
Done011
Total26632

Merged error: 0b

Counts
32 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
9.1b
(* (/ x (* (cbrt z) (cbrt z))) (/ (+ y z) (cbrt z)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
36×*-un-lft-identity
34×times-frac
28×associate-*r*
25×add-exp-log
24×add-cube-cbrt
23×cbrt-prod
18×add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
pow1 distribute-lft-out unswap-sqr
add-log-exp
pow1/3
div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 98
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)
16.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (+ y z) (cbrt z)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt z)
22.0ms
(cbrt z)
22.0ms
(cbrt z)
15.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (+ y z) (cbrt z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0469881
12341772
25001713

prune81.0ms

Filtered
78 candidates to 110 candidates (-41.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh033
Picked011
Done022
Total1106116

Merged error: 0b

Counts
116 → 6

regimes281.0ms

Accuracy

79% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 3.2b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
03127
13427
24018
34318
44918
56018
66718
76818
86818

end0.0ms

sample594.0ms

Algorithm
intervals
Results
247.0ms9637×body80valid

Profiling

Loading profile data...