Details

Time bar (total: 18.4s)

analyze1.3s

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14

sample542.0ms

Algorithm
intervals
Results
123.0ms48×body2560valid
57.0ms87×body1280valid
15.0ms59×body640valid
6.0ms33×body320valid
2.0ms19×body160valid
1.0ms10×body80valid

simplify465.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
010049
110049

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 1

localize103.0ms

Local error

Found 3 expressions with local error:

10.6b
(- x (sin x))
10.6b
(- x (tan x))
20.9b
(/ (- x (sin x)) (- x (tan x)))

rewrite21.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 → 78
Calls
3 calls:
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))
10.0ms
(/ (- x (sin x)) (- x (tan x)))

series39.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- x (sin x))
10.0ms
(- x (tan x))
24.0ms
(/ (- x (sin x)) (- x (tan x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
048641139
148641139

prune104.0ms

Filtered
63 candidates to 87 candidates (-38.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New84387
Fresh000
Picked101
Done000
Total85388

Merged error: 0.0b

Counts
88 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×associate-*l* add-cbrt-cube
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down unswap-sqr
sum-log *-commutative
sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls
4 calls:
5.0ms
(* (pow x 4) -27/2800)
4.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
8.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

series14.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) -27/2800)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
6.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

simplify55.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04903646
14903646

prune112.0ms

Filtered
53 candidates to 86 candidates (-62.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh022
Picked101
Done000
Total86389

Merged error: 0b

Counts
89 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×associate-*l* add-cbrt-cube
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down unswap-sqr
sum-log *-commutative
sqr-pow
+-commutative pow-to-exp associate-+l+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls
4 calls:
7.0ms
(* (pow x 4) -27/2800)
5.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
9.0ms
(+ (+ (* x (* x 9/40)) -1/2) (* (pow x 4) -27/2800))

series14.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) -27/2800)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
5.0ms
(+ (+ (* x (* x 9/40)) -1/2) (* (pow x 4) -27/2800))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04921646
14921646

prune106.0ms

Filtered
53 candidates to 86 candidates (-62.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done000
Total86389

Merged error: 0b

Counts
89 → 3

localize101.0ms

Local error

Found 4 expressions with local error:

4.1b
(/ (sin x) (- x (tan x)))
10.6b
(- x (tan x))
10.6b
(- x (tan x))
31.5b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

rewrite43.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 → 91
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
27.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (sin x) (- x (tan x)))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
33.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050281430

prune89.0ms

Filtered
81 candidates to 103 candidates (-27.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done011
Total1033106

Merged error: 0b

Counts
106 → 3

regimes41.0ms

Accuracy

100% (0.0b remaining)

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

bsearch71.0ms

Steps
ItersRangePoint
8
0.0017563257378295405
14.712634814920476
0.027286187343321333
9
-115746.60009683359
-0.001278442852213411
-0.025373353279311107

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05636
15636

end0.0ms

sample14.8s

Algorithm
intervals
Results
3.9s1600×body2560valid
1.6s2726×body1280valid
494.0ms1957×body640valid
149.0ms896×body320valid
59.0ms480×body160valid
24.0ms341×body80valid

Profiling

Loading profile data...