Details

Time bar (total: 13.4s)

sample163.0ms

Algorithm
intervals
Results
77.0ms96×body1280valid
32.0ms19×body2560valid
29.0ms67×body640valid
9.0ms32×body320valid
3.0ms33×body80valid
2.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.8b

localize10.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (tan (+ x eps)) (tan x))
3.7b
(tan (+ x eps))

rewrite13.0ms

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

series147.0ms

Counts
2 → 6
Calls
2 calls:
91.0ms
(- (tan (+ x eps)) (tan x))
56.0ms
(tan (+ x eps))

simplify1.0s

Counts
47 → 47
Iterations

Useful iterations: 3 (274.0ms)

IterNodesCost
094720
1190597
2473510
31662450
done5000450

prune124.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 13.2b

localize13.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.6b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
flip3-+ frac-add 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 distribute-lft-out-- unswap-sqr
Counts
4 → 169
Calls
4 calls:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
51.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series762.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
94.0ms
(+ (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
359.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify743.0ms

Counts
181 → 181
Iterations

Useful iterations: done (738.0ms)

IterNodesCost
02404762
15373970
215473555
done50003549

prune439.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 13.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×tan-quot
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div frac-times pow-unpow associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod fma-udef sqr-pow
Counts
4 → 83
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
4.0ms
(pow (* (tan x) (tan eps)) 3)
0.0ms
(fma (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan x) (tan eps)) 3))) (fma (* (tan x) (tan eps)) (fma (tan eps) (tan x) 1) 1) (- (tan x)))

series1.4s

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (tan x) (tan eps))
91.0ms
(* (tan x) (tan eps))
124.0ms
(pow (* (tan x) (tan eps)) 3)
1.1s
(fma (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan x) (tan eps)) 3))) (fma (* (tan x) (tan eps)) (fma (tan eps) (tan x) 1) 1) (- (tan x)))

simplify680.0ms

Counts
95 → 95
Iterations

Useful iterations: 2 (193.0ms)

IterNodesCost
01731612
14691474
223471328
done50001328

prune435.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 12.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
40×tan-quot
20×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u add-log-exp
*-commutative
pow-plus unswap-sqr
pow2 swap-sqr fma-udef
Counts
4 → 107
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
24.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

series890.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (tan x) (tan eps))
92.0ms
(* (tan x) (tan eps))
114.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
588.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

simplify627.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (154.0ms)

IterNodesCost
01571832
14171746
216251476
done50011476

prune366.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.2b

regimes93.0ms

Accuracy

0% (0.3b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 0.6b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033115
143115
done43115

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.6s3276×body1280valid
1.2s646×body2560valid
852.0ms1863×body640valid
241.0ms766×body320valid
107.0ms1085×body80valid
80.0ms364×body160valid