Details

Time bar (total: 6.0s)

sample25.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
7.0ms296×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite27.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)))
9.0ms
(* 6.0 (- x 1.0))
10.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series155.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0377495
11642421
25001420

prune140.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite33.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:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
10.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
11.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series185.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06412084
129421986
250011984

prune347.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
875×times-frac
803×add-sqr-sqrt
612×*-un-lft-identity
579×sqrt-prod
364×add-cube-cbrt
196×difference-of-squares
185×associate-*r*
98×distribute-lft-out--
75×associate-/r*
36×associate-*l*
34×add-exp-log add-cbrt-cube
26×distribute-lft-out
22×associate-/r/
14×cbrt-undiv div-exp associate-/l*
12×div-inv unswap-sqr
flip3-- flip--
pow1 sqrt-div prod-exp cbrt-unprod
flip3-+ flip-+ associate-/l/ add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 657
Calls
4 calls:
130.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))))
20.0ms
(/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0))))
12.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
14.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))

series1.5s

Counts
4 → 12
Calls
4 calls:
446.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))))
301.0ms
(/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0))))
227.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
513.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))

simplify166.0ms

Algorithm
egg-herbie
Counts
669 → 669
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0193514196
1500113598

prune1.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
5.7b
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
8.8b
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
15.7b
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
48×frac-add
45×pow1
42×frac-times
41×flip3-+ flip-+
32×associate-*r/
30×add-exp-log add-cbrt-cube
25×flip3-- flip--
18×pow-prod-down
15×*-un-lft-identity
13×associate-*l/ prod-exp cbrt-unprod
12×associate-*l*
11×add-sqr-sqrt
10×times-frac
add-cube-cbrt add-log-exp
associate-/r*
cbrt-undiv div-exp associate-*r* associate-/r/ pow-sqr pow-prod-up
sum-cubes distribute-lft-out
distribute-rgt-in associate-+l+ associate-+r+ distribute-lft-in pow-plus sum-log *-commutative div-inv associate-/l/
+-commutative pow2 associate-+r- sub-neg frac-2neg diff-log swap-sqr clear-num associate-/l* unswap-sqr
Counts
4 → 165
Calls
4 calls:
8.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
17.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
16.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
36.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

series382.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
93.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
74.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
179.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015115265
150014860

prune630.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample629.0ms

Algorithm
intervals
Results
235.0ms8000×body80valid
207.0ms7974×body80nan