Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
7.0ms329×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.4b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series69.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0262303
11268253
25002253

prune130.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

series85.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04631195
121431142
250011140

prune444.0ms

Filtered
149 candidates to 98 candidates (65.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
1138×times-frac
1029×*-un-lft-identity
519×add-sqr-sqrt add-cube-cbrt
468×distribute-lft-neg-in distribute-rgt-neg-in
204×distribute-lft-out
160×associate-/r*
122×neg-mul-1
102×distribute-lft-out--
13×associate-/l*
11×associate-/r/
10×distribute-neg-frac
add-exp-log add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
neg-sub0 div-sub distribute-frac-neg
Counts
2 → 786
Calls
2 calls:
43.0ms
(/ (- z) (- (+ (- y z) 1.0)))
69.0ms
(/ x (/ (- z) (- (+ (- y z) 1.0))))

series96.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
792 → 792
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
018088919
150028612

prune1.1s

Filtered
792 candidates to 384 candidates (48.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 80
Calls
2 calls:
36.0ms
(/ (+ (- y z) 1.0) z)
44.0ms
(* x (/ (+ (- y z) 1.0) z))

series68.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0274497
11191450
25001447

prune134.0ms

Filtered
86 candidates to 54 candidates (62.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes97.0ms

Accuracy

97.4% (0.1b remaining)

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

bsearch53.0ms

Steps
ItersRangePoint
5
3.4535201554271017e-08
1.0911684528208986e-07
8.264702531127808e-08
8
-1827977.1926269082
-30.883936201328435
-159.56615624190854

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03016
13516
23816
33816

end0.0ms

sample451.0ms

Algorithm
intervals
Results
246.0ms10108×body80valid