Details

Time bar (total: 33.5s)

sample436.0ms

Algorithm
intervals
Results
241.0ms115×body1280valid
67.0ms50×body640valid
55.0ms28×body320valid
41.0ms14×body2560valid
9.0ms34×body80valid
8.0ms15×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: 36.5b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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 insert-posit16
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 27
Calls
2 calls:
26.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series239.0ms

Counts
2 → 6
Calls
2 calls:
143.0ms
(- (tan (+ x eps)) (tan x))
96.0ms
(tan (+ x eps))

simplify1.6s

Counts
33 → 33
Iterations
IterNodes
done5001
41821
3719
2300
1139
070

prune153.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.1b

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

rewrite159.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
insert-posit16 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 → 90
Calls
4 calls:
14.0ms
(+ (tan x) (tan eps))
48.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
28.0ms
(* (tan x) (tan eps))
67.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
140.0ms
(+ (tan x) (tan eps))
334.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
142.0ms
(* (tan x) (tan eps))
527.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify2.7s

Counts
102 → 102
Iterations
IterNodes
done5000
34143
21152
1405
0174

prune573.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.0b

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

rewrite139.0ms

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

series1.6s

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (tan x) (tan eps))
129.0ms
(* (tan x) (tan eps))
152.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.2s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify1.9s

Counts
126 → 126
Iterations
IterNodes
done5028
22740
1664
0205

prune682.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.9b

localize82.0ms

Local error

Found 4 expressions with local error:

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

rewrite366.0ms

Algorithm
rewrite-expression-head
Rules
89×tan-quot
87×pow1
44×frac-times
40×add-cbrt-cube add-exp-log
38×associate-*r/
37×pow-prod-down
34×associate-*l/
29×*-un-lft-identity
28×associate-*r*
22×prod-exp cbrt-unprod
20×times-frac
18×add-sqr-sqrt
14×add-cube-cbrt
10×frac-add
add-log-exp
pow-sqr pow-prod-up difference-of-squares
frac-sub
distribute-lft-out
pow-plus insert-posit16
associate-*l* *-commutative
pow2 cbrt-undiv associate-+r+ sum-log flip3-- swap-sqr div-exp associate-/r/ flip--
+-commutative associate-+r- sub-neg flip3-+ diff-log flip-+ div-inv sub-div
Counts
4 → 180
Calls
4 calls:
66.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
124.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
62.0ms
(* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))))
110.0ms
(+ (* 1 (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (- (* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (tan x)))

series1.9s

Counts
4 → 12
Calls
4 calls:
157.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
157.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
492.0ms
(* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))))
1.1s
(+ (* 1 (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (- (* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (tan x)))

simplify3.0s

Counts
192 → 192
Iterations
IterNodes
done5000
24655
11102
0320

prune1.1s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 11.9b

regimes328.0ms

Accuracy

88.6% (0.8b remaining)

Error of 15.1b against oracle of 14.3b and baseline of 21.4b

bsearch486.0ms

Steps
ItersRangePoint
9
1.2523620733929687e-77
2.4540588509345504e-72
2.4150728912939454e-72
9
-5.984165099293203e-09
-2.0017119239229129e-16
-2.0286038026990939e-16

simplify22.0ms

Iterations
IterNodes
done59
159
043

end0.0ms

sample14.7s

Algorithm
intervals
Results
7.7s3317×body1280valid
2.5s1856×body640valid
2.5s618×body2560valid
1.1s765×body320valid
369.0ms1108×body80valid
233.0ms336×body160valid