Details

Time bar (total: 2.2s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14

sample26.0ms

Algorithm
intervals
Results
17.0ms256×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0497014
1497014

prune7.0ms

Filtered
1 candidates to 1 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 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (* 4.0 (sqrt x)))
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)))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
49×add-sqr-sqrt
41×times-frac
26×add-cube-cbrt associate-*r*
12×distribute-lft-out
11×add-exp-log add-cbrt-cube add-log-exp
distribute-lft-out-- difference-of-squares
pow1
associate-/l*
flip3-+ associate-/r* sum-log associate-/r/ flip-+
associate-*l*
cbrt-undiv +-commutative div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
associate-+r+ flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
4 → 116
Calls
4 calls:
3.0ms
(+ 1.0 (* 4.0 (sqrt x)))
7.0ms
(+ x (+ 1.0 (* 4.0 (sqrt x))))
13.0ms
(* 6.0 (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
8.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

series23.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ 1.0 (* 4.0 (sqrt x)))
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)))))

simplify33.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050952111

prune189.0ms

Filtered
94 candidates to 128 candidates (-36.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1244128
Fresh011
Picked101
Done000
Total1255130

Merged error: 0b

Counts
130 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
210×*-un-lft-identity
153×add-sqr-sqrt
142×times-frac
122×cbrt-prod
80×add-cube-cbrt unpow-prod-down cube-prod
61×associate-*r*
36×distribute-lft-out
29×distribute-lft-out-- difference-of-squares
14×associate-/r/
11×add-exp-log
10×add-cbrt-cube
pow1 flip3-+ flip-+ div-inv unswap-sqr
associate-/l*
associate-/r* add-log-exp sqr-pow
cube-div cube-mult pow-unpow unpow3 associate-*l*
cbrt-undiv cbrt-div div-exp pow-exp associate-/l/ rem-cube-cbrt
pow-to-exp flip3-- pow-pow frac-2neg pow1/3 div-sub associate-*r/ pow-prod-down prod-exp clear-num *-commutative flip-- rem-cbrt-cube cbrt-unprod
Counts
4 → 269
Calls
4 calls:
27.0ms
(* 6.0 (cbrt (pow (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))) 3)))
8.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))
12.0ms
(cbrt (pow (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))) 3))
11.0ms
(pow (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))) 3)

series47.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
053085747

prune304.0ms

Filtered
129 candidates to 281 candidates (-117.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2810281
Fresh044
Picked011
Done000
Total2815286

Merged error: 0b

Counts
286 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt
145×*-un-lft-identity
134×times-frac
83×sqrt-prod
73×add-cube-cbrt
64×add-exp-log
42×associate-*r*
38×add-cbrt-cube
30×associate-*l*
25×prod-exp
19×div-exp
18×distribute-lft-out
15×distribute-lft-out-- difference-of-squares unswap-sqr
14×associate-/r*
13×pow1 cbrt-unprod
10×cbrt-undiv
sqrt-div associate-/r/ associate-/l*
rec-exp 1-exp associate-*r/
flip3-+ pow-prod-down flip-+ div-inv add-log-exp
pow-flip
frac-times frac-2neg associate-*l/ clear-num *-commutative associate-/l/
flip3-- sqrt-pow1 pow1/2 div-sub flip-- inv-pow
Counts
4 → 253
Calls
4 calls:
24.0ms
(* 6.0 (* (/ 1 (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x)))))) (/ (- x 1.0) (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
7.0ms
(/ 1 (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x))))))
35.0ms
(* (/ 1 (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x)))))) (/ (- x 1.0) (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
9.0ms
(/ (- x 1.0) (sqrt (+ x (+ 1.0 (* 4.0 (sqrt x))))))

series42.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049665886
149665886

prune438.0ms

Filtered
139 candidates to 265 candidates (-90.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2650265
Fresh033
Picked011
Done011
Total2655270

Merged error: 0b

Counts
270 → 5

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.3b
(/ (* 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 sub-neg flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative distribute-rgt-in associate-+l+ frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 62
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))))

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.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))))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04992903
14992903

prune85.0ms

Filtered
54 candidates to 71 candidates (-31.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh022
Picked011
Done022
Total71576

Merged error: 0b

Counts
76 → 5

regimes71.0ms

Accuracy

0% (0.1b 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 (1.0ms)

IterNodesCost
02817
12817

end0.0ms

sample390.0ms

Algorithm
intervals
Results
304.0ms8000×body80valid
0.0msbody80nan

Profiling

Loading profile data...