Details

Time bar (total: 31.2s)

sample225.0ms

Algorithm
intervals
Results
129.0ms121×body1280valid
36.0ms17×body2560valid
34.0ms57×body640valid
7.0ms15×body320valid
5.0ms36×body80valid
3.0ms10×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06272
19272
210272
done10272

prune51.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.5b

localize33.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (tan (+ x eps)) (tan x))
4.6b
(tan (+ x eps))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity tan-quot add-log-exp
pow1 tan-sum add-cbrt-cube add-exp-log frac-sub add-cube-cbrt
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 25
Calls
2 calls:
17.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series204.0ms

Counts
2 → 6
Calls
2 calls:
118.0ms
(- (tan (+ x eps)) (tan x))
87.0ms
(tan (+ x eps))

simplify2.2s

Counts
31 → 31
Iterations

Useful iterations: 4 (799.0ms)

IterNodesCost
06811636
113710793
229810793
370910753
4174810712
done500110712

prune209.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.8b

localize43.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
2.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-cbrt-cube add-exp-log add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-/r* associate-*r* associate-*l* associate-/l/
flip3-+ flip3-- frac-add associate-/r/ flip-+ flip-- difference-of-squares
frac-times cbrt-undiv +-commutative clear-num sum-log sub-neg frac-2neg diff-log div-exp pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative frac-sub cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
13.0ms
(+ (tan x) (tan eps))
29.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
15.0ms
(* (tan x) (tan eps))
105.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.2s

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ (tan x) (tan eps))
337.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
129.0ms
(* (tan x) (tan eps))
580.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify4.1s

Counts
98 → 98
Iterations

Useful iterations: 3 (2.1s)

IterNodesCost
017046248
140143757
2114743637
3425943517
done508343517

prune630.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 14.6b

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
0.2b
(/ (* (tan x) (sin eps)) (cos eps))
0.2b
(* (tan x) (sin eps))
2.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

rewrite274.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×add-sqr-sqrt
28×times-frac
20×add-cube-cbrt
13×add-cbrt-cube add-exp-log
12×difference-of-squares
associate-/r*
distribute-lft-out
pow1 distribute-lft-out-- add-log-exp
tan-quot associate-/l*
associate-/l/
cbrt-undiv div-exp associate-*r* associate-*l*
clear-num frac-2neg flip3-- associate-*l/ prod-exp associate-/r/ cbrt-unprod div-inv flip--
sub-neg flip3-+ diff-log pow-prod-down frac-add *-commutative frac-sub flip-+ unswap-sqr
Counts
4 → 108
Calls
4 calls:
52.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
15.0ms
(/ (* (tan x) (sin eps)) (cos eps))
17.0ms
(* (tan x) (sin eps))
184.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
339.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
135.0ms
(/ (* (tan x) (sin eps)) (cos eps))
112.0ms
(* (tan x) (sin eps))
520.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify2.3s

Counts
120 → 120
Iterations

Useful iterations: done (2.3s)

IterNodesCost
021770997
150467932
2146367452
done500167332

prune744.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 14.6b

localize76.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin eps))
0.2b
(* (tan x) (sin eps))
0.3b
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
2.8b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
44×add-cbrt-cube add-exp-log
22×add-sqr-sqrt
17×prod-exp cbrt-unprod
16×*-un-lft-identity add-cube-cbrt
15×pow1
13×associate-*r* associate-*l*
12×cbrt-undiv times-frac div-exp
swap-sqr tan-quot
add-log-exp
frac-sub
associate-*l/ div-inv
frac-times pow-prod-down associate-*r/ *-commutative unswap-sqr
flip3-+ associate--l+ flip-+
pow2 distribute-rgt-in sub-neg distribute-lft-in pow-plus flip3-- diff-log pow-sqr pow-prod-up flip--
Counts
4 → 113
Calls
4 calls:
11.0ms
(* (tan x) (sin eps))
14.0ms
(* (tan x) (sin eps))
60.0ms
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
48.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series1.8s

Counts
4 → 12
Calls
4 calls:
71.0ms
(* (tan x) (sin eps))
70.0ms
(* (tan x) (sin eps))
187.0ms
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
1.4s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify4.9s

Counts
125 → 125
Iterations

Useful iterations: done (4.9s)

IterNodesCost
023265060
175356462
2308054221
done502253941

prune743.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 14.6b

regimes415.0ms

Accuracy

87.3% (0.9b remaining)

Error of 15.4b against oracle of 14.5b and baseline of 21.8b

bsearch302.0ms

Steps
ItersRangePoint
7
8.37711467695307e-66
1.2010323164908573e-63
1.0195913887540198e-64
8
-6.358562521077362e-50
-7.09086929250311e-54
-6.248907778173893e-50

simplify12.0ms

Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0452196
1612196
done612196

end0.0ms

sample9.3s

Algorithm
intervals
Results
4.3s3279×body1280valid
2.1s1836×body640valid
2.0s675×body2560valid
311.0ms760×body320valid
184.0ms1117×body80valid
145.0ms333×body160valid