Details

Time bar (total: 25.1s)

sample360.0ms

Algorithm
intervals
Results
157.0ms115×body1280valid
61.0ms11×body160valid
54.0ms17×body2560valid
52.0ms64×body640valid
11.0ms20×body320valid
6.0ms29×body80valid

simplify25.0ms

Counts
1 → 1

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.2b

localize20.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
2.8b
(tan (+ x eps))

rewrite28.0ms

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

series212.0ms

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

simplify1.2s

Counts
31 → 31

prune166.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.4b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite199.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
361.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
135.0ms
(+ (tan x) (tan eps))
124.0ms
(* (tan x) (tan eps))
590.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify2.4s

Counts
98 → 98

prune451.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.3b

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
2.7b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
45×tan-quot
21×frac-times
20×add-exp-log add-cbrt-cube
19×pow-prod-down
15×associate-*r/
14×associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
add-log-exp
frac-sub
pow-sqr pow-prod-up
*-commutative
flip3-+ pow-plus associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log swap-sqr flip--
Counts
4 → 110
Calls
4 calls:
26.0ms
(* (tan x) (tan eps))
19.0ms
(* (tan x) (tan eps))
87.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
47.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series1.7s

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (tan x) (tan eps))
108.0ms
(* (tan x) (tan eps))
163.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.3s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify1.3s

Counts
122 → 122

prune452.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.3b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
tan-quot
times-frac
associate-*r* associate-*l* associate-/r*
cbrt-undiv associate-*r/ div-exp prod-exp cbrt-unprod difference-of-squares
+-commutative sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down frac-add clear-num sum-log *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
9.0ms
(+ (tan x) (tan eps))
18.0ms
(/ (* (sin x) (tan eps)) (cos x))
14.0ms
(* (sin x) (tan eps))
228.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

series907.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(+ (tan x) (tan eps))
143.0ms
(/ (* (sin x) (tan eps)) (cos x))
100.0ms
(* (sin x) (tan eps))
523.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify641.0ms

Counts
82 → 82

prune422.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.3b

regimes285.0ms

Accuracy

89.5% (0.8b remaining)

Error of 15.2b against oracle of 14.4b and baseline of 22.0b

bsearch317.0ms

Steps
ItersRangePoint
9
6.234436350971775e-49
1.1561517521963542e-41
2.462633582693938e-42
10
-0.0006576197608759923
-8.63582207798018e-19
-3.607294612619752e-18

simplify1.2s

end0.0ms

sample11.0s

Algorithm
intervals
Results
5.3s3355×body1280valid
2.6s631×body2560valid
2.0s1809×body640valid
464.0ms771×body320valid
171.0ms1104×body80valid
108.0ms330×body160valid