Details

Time bar (total: 8.6s)

sample124.0ms

Algorithm
intervals
Results
58.0ms124×body1280valid
21.0ms256×pre80true
17.0ms68×body640valid
3.0ms19×body320valid
2.0ms33×body80valid
1.0ms12×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.8b
(tan (+ y z))

rewrite17.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:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series287.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(+ x (- (tan (+ y z)) (tan a)))
113.0ms
(- (tan (+ y z)) (tan a))
53.0ms
(tan (+ y z))

simplify44.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune138.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize16.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
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.3b
(* (tan y) (tan z))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))

series914.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (tan y) (tan z))
387.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
341.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
91.0ms
(* (tan y) (tan z))

simplify85.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune277.0ms

Filtered
79 candidates to 60 candidates (75.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh527
Picked101
Done000
Total771087

Merged error: 0.0b

Counts
87 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(* (tan y) (sin z))

rewrite52.0ms

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

series898.0ms

Counts
4 → 12
Calls
4 calls:
387.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
347.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
96.0ms
(/ (* (tan y) (sin z)) (cos z))
68.0ms
(* (tan y) (sin z))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03911035
11334960
25002951

prune280.0ms

Filtered
86 candidates to 62 candidates (72.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh099
Picked011
Done000
Total861096

Merged error: 0.0b

Counts
96 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
tan-quot exp-prod
sum-log distribute-lft-out
diff-log associate-*r* associate-*l* rem-exp-log distribute-lft-out--
associate-+r- sub-neg associate-+r+ difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
17.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
375.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
331.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
88.0ms
(* (tan y) (tan z))
410.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify77.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
03331021
1989959
23279952
35001952

prune252.0ms

Filtered
83 candidates to 60 candidates (72.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New79483
Fresh268
Picked101
Done011
Total821193

Merged error: 0.0b

Counts
93 → 11

regimes487.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
02213
12213

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3878×body1280valid
519.0ms8000×pre80true
492.0ms2000×body640valid
125.0ms745×body320valid
60.0ms1120×body80valid
35.0ms257×body160valid

Profiling

Loading profile data...