Details

Time bar (total: 1.8s)

sample21.0ms

Algorithm
intervals
Results
11.0ms320×body80valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.2b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
8.0ms
(* x (+ (- y z) 1.0))
9.0ms
(/ (* x (+ (- y z) 1.0)) z)

series70.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune85.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New46753
Fresh000
Picked101
Done000
Total47754

Merged error: 0b

Counts
54 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
7.0ms
(/ z (+ (- y z) 1.0))
10.0ms
(/ x (/ z (+ (- y z) 1.0)))

series86.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04551177
121101129
250021126

prune207.0ms

Filtered
145 candidates to 92 candidates (63.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh336
Picked011
Done000
Total1475152

Merged error: 0b

Counts
152 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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 div-exp prod-exp cbrt-unprod 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 → 76
Calls
2 calls:
8.0ms
(/ (+ (- y z) 1.0) z)
11.0ms
(* x (/ (+ (- y z) 1.0) z))

series65.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0267479
11167438
25001432

prune98.0ms

Filtered
82 candidates to 49 candidates (59.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh033
Picked011
Done011
Total82587

Merged error: 0b

Counts
87 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
11.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
4.0ms
(/ (* x y) z)

series100.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
37.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
19.0ms
(/ (* x y) z)

simplify33.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0254367
11124344
25002325

prune80.0ms

Filtered
58 candidates to 40 candidates (69.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New58058
Fresh022
Picked011
Done022
Total58563

Merged error: 0b

Counts
63 → 5

regimes76.0ms

Accuracy

96.8% (0.1b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
6
9.8561082453762e-12
7.444679629767454e-11
5.6353346980078755e-11
5
-2.464113685665428e+23
-9.705999773084494e+22
-1.4950089084311442e+23

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample500.0ms

Algorithm
intervals
Results
287.0ms10103×body80valid