Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
7.0ms324×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite60.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 flip3-+ div-exp prod-exp cbrt-unprod flip-+ 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 → 47
Calls
2 calls:
40.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series71.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune94.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

4 alts after pruning (4 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))
2.4b
(/ x (/ z (+ (- y z) 1.0)))

rewrite46.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 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
17.0ms
(/ z (+ (- y z) 1.0))
22.0ms
(/ x (/ z (+ (- y z) 1.0)))

series86.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04551177
121101129
250021126

prune239.0ms

Filtered
145 candidates to 92 candidates (63.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
726×times-frac
580×*-un-lft-identity
320×add-sqr-sqrt add-cube-cbrt
104×distribute-lft-out
84×associate-/r*
52×distribute-lft-out--
35×add-exp-log
23×div-inv
22×div-exp
19×add-cbrt-cube
11×associate-/l*
10×cbrt-undiv
associate-/r/
pow1 rec-exp 1-exp
frac-2neg clear-num add-log-exp
associate-/l/
associate-+l- pow-flip flip3-+ div-sub flip-+ inv-pow
Counts
3 → 410
Calls
3 calls:
35.0ms
(/ (+ (- y z) 1.0) z)
21.0ms
(/ 1 (/ (+ (- y z) 1.0) z))
35.0ms
(/ x (/ 1 (/ (+ (- y z) 1.0) z)))

series131.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (+ (- y z) 1.0) z)
57.0ms
(/ 1 (/ (+ (- y z) 1.0) z))
45.0ms
(/ x (/ 1 (/ (+ (- y z) 1.0) z)))

simplify68.0ms

Algorithm
egg-herbie
Counts
419 → 419
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011204397
150013861

prune561.0ms

Filtered
419 candidates to 202 candidates (48.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
42.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
3.0ms
(/ (* x y) z)

series121.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
54.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
24.0ms
(/ (* x y) z)

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0254367
11124344
25002325

prune111.0ms

Filtered
58 candidates to 40 candidates (69.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes75.0ms

Accuracy

75.8% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.7b

bsearch76.0ms

Steps
ItersRangePoint
9
1.1876116872305102e-168
8.83617563358547e-164
7.850122088283077e-164
8
-3.648591357906051e+92
-3.3469565555295054e+88
-3.7618411608635746e+88

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample432.0ms

Algorithm
intervals
Results
237.0ms10105×body80valid