Details

Time bar (total: 1.7s)

sample15.0ms

Algorithm
intervals
Results
6.0ms312×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.8b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
9.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series63.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune93.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series88.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ z (+ y z))
49.0ms
(/ x (/ z (+ y z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0413869
11890835
25002832

prune249.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
7.0ms
(/ (+ y z) z)
14.0ms
(* x (/ (+ y z) z))

series57.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune130.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ (* x y) z) x)
5.2b
(/ (* 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:
7.0ms
(+ (/ (* x y) z) x)
3.0ms
(/ (* x y) z)

series52.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0168160
1736144
23353142
35001142

prune65.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes63.0ms

Accuracy

6.6% (3.1b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
9
9.628739033261892e-145
1.605939223373804e-138
1.2422845822025189e-142
4
2.4637084458391695e-218
4.829006829972694e-218
3.087260148068454e-218

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0277
1277

end0.0ms

sample399.0ms

Algorithm
intervals
Results
200.0ms9685×body80valid