Details

Time bar (total: 3.3s)

sample18.0ms

Algorithm
intervals
Results
8.0ms324×body80valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.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:
37.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series75.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0262303
11268253
25002253

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

rewrite50.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:
18.0ms
(/ z (+ (- y z) 1.0))
25.0ms
(/ x (/ z (+ (- y z) 1.0)))

series95.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ z (+ (- y z) 1.0))
47.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

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

rewrite118.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:
18.0ms
(/ z (+ (- y z) 1.0))
33.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
34.0ms
(/ (/ z (+ (- y z) 1.0)) x)

series152.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ z (+ (- y z) 1.0))
35.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
67.0ms
(/ (/ z (+ (- y z) 1.0)) x)

simplify78.0ms

Algorithm
egg-herbie
Counts
450 → 450
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012854886
150014399

prune779.0ms

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

rewrite107.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:
20.0ms
(/ z (+ (- y z) 1.0))
29.0ms
(/ 1 (* (/ z (+ (- y z) 1.0)) (/ 1 x)))
51.0ms
(* (/ z (+ (- y z) 1.0)) (/ 1 x))

series145.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ z (+ (- y z) 1.0))
41.0ms
(/ 1 (* (/ z (+ (- y z) 1.0)) (/ 1 x)))
57.0ms
(* (/ z (+ (- y z) 1.0)) (/ 1 x))

simplify79.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06741182
13131962
25002934

prune259.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes83.0ms

Accuracy

86.6% (0.5b remaining)

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

bsearch70.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

sample469.0ms

Algorithm
intervals
Results
255.0ms10142×body80valid