Details

Time bar (total: 2.2s)

sample41.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
14.0ms269×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize9.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.4b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite23.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))))

series14.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
3.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

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

localize9.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) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
0.1b
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite34.0ms

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

series19.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06341087
126751000
25001998

prune167.0ms

Filtered
80 candidates to 102 candidates (-27.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh033
Picked011
Done000
Total1024106

Merged error: 0b

Counts
106 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 6.0 (- x 1.0))
0.1b
(pow (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)
0.4b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
1.0b
(cbrt (pow (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt unpow-prod-down cube-prod
17×add-exp-log add-cbrt-cube
15×times-frac
10×associate-/r/
pow1
flip3-+ associate-*r* flip-+ div-inv
cbrt-undiv associate-*r/ div-exp add-log-exp
pow-unpow associate-*l* pow-exp prod-exp associate-/r* cbrt-unprod rem-cube-cbrt
cube-div distribute-rgt-in cube-mult sub-neg flip3-- distribute-lft-in unpow3 flip-- associate-/l/ sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 pow-prod-down clear-num *-commutative rem-cbrt-cube associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 125
Calls
4 calls:
6.0ms
(* 6.0 (- x 1.0))
13.0ms
(pow (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)
11.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
7.0ms
(cbrt (pow (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3))

series30.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07281449
135601374
250031368

prune192.0ms

Filtered
83 candidates to 137 candidates (-65.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1370137
Fresh022
Picked011
Done011
Total1374141

Merged error: 0b

Counts
141 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series25.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
5.0ms
(* (+ (+ x 1.0) (* 4.0 (sqrt x))) (+ x 1.0))
5.0ms
(* 6.0 (- (* x x) (* 1.0 1.0)))
9.0ms
(/ (* 6.0 (- (* x x) (* 1.0 1.0))) (* (+ (+ x 1.0) (* 4.0 (sqrt x))) (+ x 1.0)))

simplify105.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08031196
14404990
25002990

prune157.0ms

Filtered
83 candidates to 110 candidates (-32.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done022
Total1104114

Merged error: 0b

Counts
114 → 4

regimes94.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
0157
1157

end0.0ms

sample810.0ms

Algorithm
intervals
Results
308.0ms8000×body80valid
274.0ms7902×body80nan

Profiling

Loading profile data...