Details

Time bar (total: 3.7s)

sample23.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
7.0ms276×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r* sum-log
pow1 cbrt-undiv flip3-+ associate-*r/ div-exp associate-/r/ flip-+ associate-/l/
+-commutative associate-+l+ flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod div-inv associate-/l*
Counts
2 → 38
Calls
2 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
21.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series116.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
79.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0310397
11293333
25001328

prune102.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 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 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

rewrite80.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:
15.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
35.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
23.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series191.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06412084
129421986
250011984

prune371.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt sqrt-div
24×sqrt-prod
21×pow1
18×add-exp-log add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity flip3-+ flip-+
10×sqrt-pow1 pow1/2
frac-times swap-sqr associate-/r/
associate-*r/ associate-*r* associate-*l*
prod-exp pow-prod-up cbrt-unprod
cbrt-undiv div-exp associate-*l/ add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-/l/
pow2 flip3-- frac-2neg times-frac pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative flip-- div-inv associate-/l*
Counts
4 → 118
Calls
4 calls:
15.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
15.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
68.0ms
(* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
32.0ms
(/ (* 6.0 (- x 1.0)) (* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
68.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
43.0ms
(* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
81.0ms
(/ (* 6.0 (- x 1.0)) (* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

simplify77.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
04871429
123171208
250021154

prune268.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
1.0b
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
1.0b
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
1.0b
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
associate-/r/
pow1 flip3-+ flip-+ div-inv add-log-exp
cbrt-div pow1/3 associate-/r*
cbrt-undiv associate-*r/ div-exp associate-/l/
flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod associate-/l*
Counts
4 → 79
Calls
4 calls:
21.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
11.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
11.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
11.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series836.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
253.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
248.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
253.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04201197
116891063
250011056

prune299.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample584.0ms

Algorithm
intervals
Results
225.0ms8000×body80valid
186.0ms7781×body80nan