Details

Time bar (total: 2.2s)

sample27.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
8.0ms245×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.1b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*r/
times-frac associate-*l* associate-/r* sum-log
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative associate-+l+ frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(* 6.0 (- x 1.0))
10.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series18.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(* 6.0 (- x 1.0))
8.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify53.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0492549
12177479
25002478

prune105.0ms

Filtered
55 candidates to 73 candidates (-32.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0b

Counts
74 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.1b
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
103×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
add-log-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 sum-log
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+
Counts
3 → 154
Calls
3 calls:
9.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
11.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
12.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

simplify102.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08222172
137672075
250012075

prune281.0ms

Filtered
129 candidates to 163 candidates (-26.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1630163
Fresh033
Picked011
Done000
Total1634167

Merged error: 0b

Counts
167 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.0b
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
0.2b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
32×add-exp-log
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r/
10×associate-/r*
add-log-exp
pow1 cbrt-undiv
flip3-- flip-- div-inv associate-/l*
associate-*r* prod-exp
rec-exp 1-exp associate-*l* sum-log cbrt-unprod
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+ pow-flip pow-prod-down *-commutative distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 128
Calls
4 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(* 6.0 (- x 1.0))
11.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
10.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
3.0ms
(* 6.0 (- x 1.0))
8.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
7.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07521425
135321257
250011209

prune142.0ms

Filtered
85 candidates to 140 candidates (-64.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done011
Total1404144

Merged error: 0b

Counts
144 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))
0.1b
(* (* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0) (- (+ x 1.0) (* 4.0 (sqrt x))))
0.2b
(* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0)
14.3b
(/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
39×*-un-lft-identity
31×times-frac
25×add-cube-cbrt
22×associate-*l*
20×add-exp-log add-cbrt-cube
11×pow1
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares
associate-*r* add-log-exp
associate-*l/ associate-/l*
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r/
cbrt-undiv flip3-- flip3-+ div-exp associate-/r* flip-- flip-+
frac-times sub-neg associate-+r+ associate-*r/ associate--l+ *-commutative div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg div-sub clear-num sum-log
Counts
4 → 124
Calls
4 calls:
4.0ms
(+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))
14.0ms
(* (* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0) (- (+ x 1.0) (* 4.0 (sqrt x))))
11.0ms
(* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0)
8.0ms
(/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0))))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))
10.0ms
(* (* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0) (- (+ x 1.0) (* 4.0 (sqrt x))))
4.0ms
(* (/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0)
7.0ms
(/ (- x 1.0) (+ (* (neg (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0))))

simplify97.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07532109
134281853
250011834

prune244.0ms

Filtered
101 candidates to 136 candidates (-34.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done022
Total1364140

Merged error: 0b

Counts
140 → 4

regimes30.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample808.0ms

Algorithm
intervals
Results
308.0ms8000×body80valid
271.0ms7963×body80nan

Profiling

Loading profile data...