Details

Time bar (total: 28.9s)

sample369.0ms

Algorithm
intervals
Results
193.0ms98×body1280valid
76.0ms24×body2560valid
58.0ms56×body640valid
14.0ms22×body320valid
8.0ms44×body80valid
4.0ms12×body160valid

simplify7.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.7b

localize13.0ms

Local error

Found 2 expressions with local error:

2.0b
(- (tan (+ x eps)) (tan x))
2.9b
(tan (+ x eps))

rewrite45.0ms

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

series219.0ms

Counts
2 → 6
Calls
2 calls:
124.0ms
(- (tan (+ x eps)) (tan x))
94.0ms
(tan (+ x eps))

simplify3.0s

Counts
49 → 49
Iterations
IterNodes
done5000
44082
31357
2454
1205
096

prune256.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 14.6b

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

rewrite242.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-cbrt-cube add-exp-log add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u associate-/l*
associate-/r* fma-def associate-*r* associate-*l* associate-/l/
flip3-+ frac-add 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 distribute-lft-out-- unswap-sqr
Counts
4 → 173
Calls
4 calls:
43.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
15.0ms
(+ (tan x) (tan eps))
18.0ms
(* (tan x) (tan eps))
154.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.0s

Counts
4 → 12
Calls
4 calls:
282.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
135.0ms
(+ (tan x) (tan eps))
140.0ms
(* (tan x) (tan eps))
488.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify2.5s

Counts
185 → 185
Iterations
IterNodes
done5001
21631
1580
0242

prune788.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 14.4b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
10×add-exp-log
times-frac
add-cbrt-cube
pow1
tan-quot add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-/r* fma-def associate-*r* associate-*l* associate-/l*
div-exp associate-/r/
frac-times cbrt-undiv +-commutative rec-exp clear-num sum-log frac-2neg flip3-+ flip3-- 1-exp pow-prod-down associate-*l/ frac-add prod-exp associate-*r/ *-commutative cbrt-unprod flip-+ fma-udef div-inv pow-flip flip-- distribute-lft-out inv-pow unswap-sqr
Counts
4 → 90
Calls
4 calls:
10.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
12.0ms
(+ (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
0.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

series865.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
156.0ms
(+ (tan x) (tan eps))
149.0ms
(* (tan x) (tan eps))
378.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

simplify2.8s

Counts
102 → 102
Iterations
IterNodes
done5002
32563
2960
1366
0170

prune789.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 14.4b

localize73.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.9b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 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
40×tan-quot
20×add-cbrt-cube add-exp-log
19×frac-times pow-prod-down
13×associate-*l/ associate-*r/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
*-un-lft-identity add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u pow-sqr pow-prod-up insert-posit16 log1p-expm1-u add-log-exp
*-commutative
pow-plus unswap-sqr
pow2 swap-sqr fma-udef
Counts
4 → 111
Calls
4 calls:
26.0ms
(* (tan x) (tan eps))
35.0ms
(* (tan x) (tan eps))
121.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

series1.4s

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (tan x) (tan eps))
156.0ms
(* (tan x) (tan eps))
190.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
852.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify1.4s

Counts
123 → 123
Iterations
IterNodes
done5000
21621
1449
0160

prune750.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 14.4b

regimes348.0ms

Accuracy

88% (0.9b remaining)

Error of 15.5b against oracle of 14.6b and baseline of 21.7b

bsearch306.0ms

Steps
ItersRangePoint
10
3.302217848673879e-63
5.871316347800174e-52
5.810306508670788e-52
9
-5.469986621237647e-61
-8.278077243234882e-66
-5.421325500005225e-61

simplify14.0ms

Iterations
IterNodes
done39
139
030

end0.0ms

sample11.4s

Algorithm
intervals
Results
5.6s3269×body1280valid
2.5s1897×body640valid
1.7s649×body2560valid
961.0ms761×body320valid
174.0ms341×body160valid
167.0ms1083×body80valid