Details

Time bar (total: 10.1s)

sample485.0ms

Algorithm
intervals
Results
146.0ms59×body2560valid
51.0ms91×body1280valid
20.0ms67×body640valid
3.0ms18×body320valid
3.0ms12×body160valid
1.0msbody80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.9b
(- x (tan x))
0.9b
(- x (sin x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series190.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
60.0ms
(- x (tan x))
53.0ms
(- x (sin x))

simplify160.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune207.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
16.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 27/2800 (pow x 4))
5.0ms
(* 9/40 (pow x 2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series112.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
30.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123318
25001315

prune150.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 9/40 (pow x 2))
0.5b
(+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))
26.1b
(- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3))
27.8b
(/ (- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3)) (+ (* (pow x 4) (+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ 1/2 (* 9/40 (pow x 2))))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt
40×difference-of-squares
39×times-frac
37×*-un-lft-identity
32×sqr-pow
25×add-cube-cbrt
22×flip3-+ flip-+
20×associate-*r/
18×associate-/r/
16×frac-add
14×unpow-prod-down
13×associate-/l*
11×add-exp-log add-log-exp
10×cube-prod
frac-times associate-*r* add-cbrt-cube
difference-cubes distribute-lft-out--
pow1 associate-*l/ unswap-sqr
associate-*l* prod-exp associate-/r* sum-log
flip3-- flip-- associate-/l/ unpow2
cbrt-undiv +-commutative pow-to-exp sub-neg associate-+r+ frac-2neg diff-log div-sub div-exp pow-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out
Counts
4 → 151
Calls
4 calls:
6.0ms
(* 9/40 (pow x 2))
5.0ms
(+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))
15.0ms
(- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3))
28.0ms
(/ (- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3)) (+ (* (pow x 4) (+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ 1/2 (* 9/40 (pow x 2))))))

series378.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* 9/40 (pow x 2))
88.0ms
(+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))
107.0ms
(- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3))
157.0ms
(/ (- (pow (* 9/40 (pow x 2)) 3) (pow (+ (* 27/2800 (pow x 4)) 1/2) 3)) (+ (* (pow x 4) (+ 81/1600 (+ 27/5600 (* (pow x 4) 729/7840000)))) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ 1/2 (* 9/40 (pow x 2))))))

simplify79.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
010504219
150014082

prune703.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.9b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.9b
(- x (tan x))
0.9b
(- x (tan x))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
27.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series365.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (sin x) (- x (tan x)))
185.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
58.0ms
(- x (tan x))
57.0ms
(- x (tan x))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune236.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

100% (0.0b remaining)

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

bsearch106.0ms

Steps
ItersRangePoint
10
4.9177062248324165e-05
42925490.781275615
0.02588730282387
8
-1.0806682141483241
-0.0004106978961831668
-0.034878409292342524

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05131
15131

end0.0ms

sample6.6s

Algorithm
intervals
Results
4.0s1588×body2560valid
1.7s2763×body1280valid
498.0ms1925×body640valid
164.0ms903×body320valid
57.0ms461×body160valid
27.0ms360×body80valid