Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
7.0ms316×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.7b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.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:
41.0ms
(* x (+ (- y z) 1.0))
19.0ms
(/ (* x (+ (- y z) 1.0)) z)

series77.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0262303
11268253
25002253

prune123.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.8b
(/ 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)))

series95.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04631195
121431142
250011140

prune305.0ms

Filtered
149 candidates to 98 candidates (65.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

8.0b
(* (/ x z) (+ (- y z) 1.0))

rewrite49.0ms

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

series43.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0339277
11381249
25002243

prune95.0ms

Filtered
45 candidates to 32 candidates (71.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
696×times-frac
522×*-un-lft-identity
292×add-sqr-sqrt add-cube-cbrt
92×distribute-lft-out
46×distribute-lft-out--
38×div-inv
31×associate-/r/
28×add-exp-log
26×associate-/r*
18×div-exp
16×add-cbrt-cube associate-/l*
15×flip3-+ flip-+
cbrt-undiv
pow1 rec-exp 1-exp
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
2 → 376
Calls
2 calls:
19.0ms
(/ 1 (+ (- y z) 1.0))
33.0ms
(/ (/ x z) (/ 1 (+ (- y z) 1.0)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ 1 (+ (- y z) 1.0))
49.0ms
(/ (/ x z) (/ 1 (+ (- y z) 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
382 → 382
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
014234518
150024050

prune584.0ms

Filtered
382 candidates to 179 candidates (46.9%)
Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes126.0ms

Accuracy

97.2% (0.1b remaining)

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

bsearch75.0ms

Steps
ItersRangePoint
9
0.0016736950671300647
256240.94767854072
52.41416620301926
8
-0.015510049556855336
-1.2015404042154093e-05
-0.00681634526194421

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0218
1218

end0.0ms

sample457.0ms

Algorithm
intervals
Results
245.0ms10178×body80valid