Details

Time bar (total: 5.9s)

sample29.0ms

Algorithm
intervals
Results
17.0ms324×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.7b
(/ (* x (+ (- y z) 1.0)) z)

rewrite63.0ms

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

series19.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0262303
11268253
25002253

prune291.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
1.5b
(/ x (/ z (+ (- y z) 1.0)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
19.0ms
(/ z (+ (- y z) 1.0))
26.0ms
(/ x (/ z (+ (- y z) 1.0)))

series18.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04631195
121431142
250011140

prune783.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
0.2b
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
1.5b
(/ (/ z (+ (- y z) 1.0)) x)

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
771×times-frac
595×*-un-lft-identity
335×add-sqr-sqrt add-cube-cbrt
104×distribute-lft-out
75×associate-/r*
52×distribute-lft-out--
35×associate-/r/
31×add-exp-log
27×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 441
Calls
3 calls:
19.0ms
(/ z (+ (- y z) 1.0))
38.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
37.0ms
(/ (/ z (+ (- y z) 1.0)) x)

series27.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ z (+ (- y z) 1.0))
9.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
11.0ms
(/ (/ z (+ (- y z) 1.0)) x)

simplify86.0ms

Algorithm
egg-herbie
Counts
450 → 450
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
012854886
150014399

prune2.3s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
0.2b
(/ 1 (* (/ z (+ (- y z) 1.0)) (/ 1 x)))
1.6b
(* (/ z (+ (- y z) 1.0)) (/ 1 x))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
105×add-exp-log
68×*-un-lft-identity
51×div-exp
49×times-frac
48×add-sqr-sqrt
35×add-cbrt-cube
32×prod-exp
31×add-cube-cbrt
21×associate-*l*
17×rec-exp 1-exp
14×cbrt-undiv distribute-lft-out
13×associate-*r*
pow1 associate-/r/ cbrt-unprod
distribute-lft-out--
associate-/r* associate-/l* unswap-sqr
div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times pow-flip frac-2neg flip3-+ associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv flip-+
*-commutative inv-pow
Counts
3 → 164
Calls
3 calls:
19.0ms
(/ z (+ (- y z) 1.0))
34.0ms
(/ 1 (* (/ z (+ (- y z) 1.0)) (/ 1 x)))
52.0ms
(* (/ z (+ (- y z) 1.0)) (/ 1 x))

series28.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06741182
13131962
25002934

prune719.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes195.0ms

Accuracy

86.6% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 3.5b

bsearch40.0ms

Steps
ItersRangePoint
7
5.613233911629452e-91
5.423704089118626e-89
5.342914427820114e-89
9
-1.2022643258893338e+38
-3.6618581120833803e+31
-2.6583684505465714e+34

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample682.0ms

Algorithm
intervals
Results
468.0ms10142×body80valid