Details

Time bar (total: 11.6s)

sample170.0ms

Algorithm
intervals
Results
93.0ms126×body1280valid
28.0ms53×body640valid
12.0ms256×pre80true
7.0ms25×body320valid
4.0ms47×body80valid
1.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
2.8b
(tan (+ y z))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
14.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series349.0ms

Counts
3 → 9
Calls
3 calls:
150.0ms
(+ x (- (tan (+ y z)) (tan a)))
138.0ms
(- (tan (+ y z)) (tan a))
61.0ms
(tan (+ y z))

simplify42.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune159.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.3b
(* (tan y) (tan z))

rewrite59.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:
3.0ms
(+ (tan y) (tan z))
38.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
5.0ms
(* (tan y) (tan z))

series910.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (tan y) (tan z))
441.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
258.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
100.0ms
(* (tan y) (tan z))

simplify117.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03941046
113501000
24363993
35001993

prune407.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a))
0.2b
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))
0.2b
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
0.3b
(* (tan y) (tan z))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
104×*-un-lft-identity
83×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log
16×associate-/r/ distribute-lft-out
15×tan-quot
13×add-cbrt-cube
div-exp
pow1 div-inv
associate-/l* add-log-exp
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv
associate-*r* associate-*l*
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/ distribute-lft-out--
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod inv-pow unswap-sqr
Counts
4 → 178
Calls
4 calls:
78.0ms
(- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a))
9.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))
12.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
5.0ms
(* (tan y) (tan z))

series1.1s

Counts
4 → 12
Calls
4 calls:
456.0ms
(- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a))
316.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))
248.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
108.0ms
(* (tan y) (tan z))

simplify81.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06992789
130132504
250012478

prune577.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.3b
(* (tan y) (tan z))

rewrite63.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:
3.0ms
(+ (tan y) (tan z))
41.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
5.0ms
(* (tan y) (tan z))

series937.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(+ (tan y) (tan z))
460.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
253.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
111.0ms
(* (tan y) (tan z))

simplify124.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03941046
113501000
24363993
35001993

prune375.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes635.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.2s3982×body1280valid
889.0ms1980×body640valid
358.0ms8000×pre80true
203.0ms693×body320valid
107.0ms1076×body80valid
53.0ms269×body160valid