Details

Time bar (total: 2.3s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

prune1.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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
0.0b
(/ 1.0 (- x 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
frac-add
frac-2neg clear-num
associate-/r/
fma-def div-inv
flip3-- flip3-+ flip-- flip-+
+-commutative
Counts
3 → 25
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
7.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
3.0ms
(/ 1.0 (- x 1.0))

series183.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
117.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
31.0ms
(/ 1.0 (- x 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0329221
11342200
25002196

prune69.0ms

Filtered
34 candidates to 29 candidates (85.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh000
Picked011
Done000
Total32335

Merged error: 0b

Counts
35 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ (- x 1.0) 1.0) (+ x 1.0))
0.0b
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
15.3b
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (/ (- x 1.0) 1.0) (+ x 1.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-times
17×associate-/r/
12×flip3-+ flip-+ associate-/l/
10×associate-*l/
frac-2neg clear-num
flip3-- flip--
associate-*r/
associate-/r* div-inv
+-commutative distribute-rgt-in distribute-lft-in associate-*l* *-commutative
fma-udef
Counts
3 → 47
Calls
3 calls:
5.0ms
(* (/ (- x 1.0) 1.0) (+ x 1.0))
1.0ms
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
7.0ms
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (/ (- x 1.0) 1.0) (+ x 1.0)))

series328.0ms

Counts
3 → 9
Calls
3 calls:
90.0ms
(* (/ (- x 1.0) 1.0) (+ x 1.0))
102.0ms
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
136.0ms
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (/ (- x 1.0) 1.0) (+ x 1.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0361417
11875407
25001396

prune143.0ms

Filtered
56 candidates to 47 candidates (83.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New55156
Fresh101
Picked011
Done011
Total56359

Merged error: 0b

Counts
59 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
0.1b
(* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))
15.4b
(* (/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))) (* (* 1.0 (+ x 1.0)) (- x 1.0)))
22.4b
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
462×*-commutative
440×difference-of-squares
364×frac-times
260×associate-/r*
254×associate-*r/
176×swap-sqr
108×flip3-- flip--
95×associate-*l/
90×flip3-+ flip-+
55×associate-*l*
48×associate-*r*
16×associate-/r/
14×distribute-rgt-in distribute-lft-in
10×frac-2neg clear-num
prod-diff
sub-neg
div-inv
pow2 fma-udef
Counts
4 → 375
Calls
4 calls:
1.0ms
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
11.0ms
(* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))
26.0ms
(* (/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))) (* (* 1.0 (+ x 1.0)) (- x 1.0)))
12.0ms
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0))))

series499.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma (/ (- x 1.0) 1.0) x (+ x 1.0))
48.0ms
(* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))
212.0ms
(* (/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0)))) (* (* 1.0 (+ x 1.0)) (- x 1.0)))
133.0ms
(/ (fma (/ (- x 1.0) 1.0) x (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0))))

simplify101.0ms

Algorithm
egg-herbie
Counts
387 → 387
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010257394
150027330

prune437.0ms

Filtered
387 candidates to 117 candidates (30.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3870387
Fresh000
Picked011
Done022
Total3873390

Merged error: 0b

Counts
390 → 3

regimes26.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample266.0ms

Algorithm
intervals
Results
181.0ms8000×body80valid